package day2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class BooleanTest3 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.print("请输入语文和数学的成绩：");
        int a=sc.nextInt();
        int b=sc.nextInt();
        boolean f=a>=85 && b>=85;
        System.out.println("a和b都是大于等于85？"+f);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>");
        boolean f2=a==100 || b==100;
        System.out.println("有没有满分？"+f2);
    }
}
